/*
 * Copyright (C) 2012 Matt Broadstone
 * Contact: http://code.google.com/p/qconnman/
 *
 * This file is part of the QConnman Library.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 */

#ifndef TECHNOLOGYWIDGET_H
#define TECHNOLOGYWIDGET_H

#include <QWidget>
#include "technology.h"

namespace Ui {
class TechnologyWidget;
}

class TechnologyWidget : public QWidget
{
    Q_OBJECT

public:
    explicit TechnologyWidget(Technology *technology, QWidget *parent = 0);
    ~TechnologyWidget();

Q_SIGNALS:
    void technologyEnabled();

private Q_SLOTS:
    void updateTechnologyData();
    void enabledClicked();

private:
    Ui::TechnologyWidget *ui;
    Technology *m_technology;

};

#endif // TECHNOLOGYWIDGET_H
